<div class="employee-certificate-item span-5 <?php echo $index % 4 == 3 ? 'last' : ''; ?>" style="text-align: center;">
<div>
<?php echo CHtml::link($data->employee->getFullName(), array(
		'employee/view',
		'id' => $data->employeeId
	), array());
?>
</div>
<div>
<?php echo CHtml::link(
	CHtml::image(Yii::app()->baseUrl . "/uploads/employeeCertificate/tn/" . $data->thumbPath),
	Yii::app()->baseUrl . "/uploads/employeeCertificate/" . $data->imagePath,
	array(
		"target" => "_blank"
	));
?>
</div>
<div><?php echo CHtml::link($data->getDisplayType(),
		 array(
			 'employeeCertificate/view',
			 'id' => $data->id
		 ));
	 ?></div>
<div><?php echo $data->grantDate; ?></div>
<div><?php echo $data->summary; ?></div>
</div>
<?php if ($index % 4 == 3) { ?>
<div class="clear"></div>
<?php } ?>
